Pagini recente » Borderou de evaluare (job #2966541) | Borderou de evaluare (job #270655) | Borderou de evaluare (job #1791173) | Borderou de evaluare (job #1672321) | Borderou de evaluare (job #1503977)
Borderou de evaluare (job #1503977)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
scanf("%d", A);
^
user.cpp:13:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
scanf("%d", B);
^
user.cpp:14:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d", C);
^
user.cpp:16:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<B;++i){
^
user.cpp:23:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d", B);
^
user.cpp:5:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("modulo.in", "r", stdin);
^
user.cpp:6:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("modulo.out", "w", stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", A);
^
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", B);
^
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", C);
^
user.cpp:12:19: warning: ‘A’ is used uninitialized in this function [-Wuninitialized]
scanf("%d", A);
^
user.cpp:13:19: warning: ‘B’ is used uninitialized in this function [-Wuninitialized]
scanf("%d", B);
^
user.cpp:14:19: warning: ‘C’ is used uninitialized in this function [-Wuninitialized]
scanf("%d", C);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |