Pagini recente » Borderou de evaluare (job #1213163) | Borderou de evaluare (job #2289658) | Borderou de evaluare (job #229653) | Borderou de evaluare (job #2861501) | Borderou de evaluare (job #1442214)
Borderou de evaluare (job #1442214)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d",N);
^
user.cpp:45:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d %d",op,x);
^
user.cpp:45:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=]
user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.in","r",stdin);
^
user.cpp:39:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.out","w",stdout);
^
user.cpp:40:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",N);
^
user.cpp:45:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",op,x);
^
user.cpp:10:21: warning: ‘x’ is used uninitialized in this function [-Wuninitialized]
int value = x % Mod;
^
user.cpp:44:16: note: ‘x’ was declared here
int op,x;
^
user.cpp:45:28: warning: ‘op’ may be used uninitialized in this function [-Wmaybe-uninitialized]
scanf("%d %d",op,x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 16ms | 13420kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
2 | 16ms | 13416kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
3 | 16ms | 13416kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
4 | 16ms | 13420kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 16ms | 13424kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 16ms | 13420kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 16ms | 13420kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 16ms | 13420kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 16ms | 13420kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 16ms | 13416kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |