Pagini recente » Borderou de evaluare (job #558215) | Borderou de evaluare (job #662264) | Borderou de evaluare (job #611046) | Borderou de evaluare (job #1707681) | Borderou de evaluare (job #1331227)
Borderou de evaluare (job #1331227)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:32:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d",&v[i].x,&v[i].y,&v[i].r);
^
user.cpp:32:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:32:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp: In function ‘bool cmp(punct, punct)’:
user.cpp:18:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cerc3.in","r",stdin);
^
user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cerc3.out","w",stdout);
^
user.cpp:29:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:32:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&v[i].x,&v[i].y,&v[i].r);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 276kb | Ultimele doua valori gresite! | 2 |
3 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 4ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 8ms | 264kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 20ms | 268kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 24ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 44ms | 280kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 280kb | OK! | 10 |
Punctaj total | 12 |