Pagini recente » Borderou de evaluare (job #2187397) | Borderou de evaluare (job #38155) | Borderou de evaluare (job #2434349) | Borderou de evaluare (job #2585868) | Borderou de evaluare (job #2311530)
Borderou de evaluare (job #2311530)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:44:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
int q; scanf("%d",q);
^
main.cpp:25:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaj2.in","r",stdin);
^
main.cpp:26:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaj2.out","w",stdout);
^
main.cpp:27:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", (str + 1));
^
main.cpp:44:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
int q; scanf("%d",q);
^
main.cpp:46:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", (word + 1));
^
main.cpp:44:22: warning: 'q' is used uninitialized in this function [-Wuninitialized]
int q; scanf("%d",q);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 262kb | Killed by Signal 11 | 0 |
2 | 2ms | 262kb | Killed by Signal 11 | 0 |
3 | 2ms | 262kb | Killed by Signal 11 | 0 |
4 | 2ms | 262kb | Killed by Signal 11 | 0 |
5 | 2ms | 262kb | Killed by Signal 11 | 0 |
6 | 2ms | 262kb | Killed by Signal 11 | 0 |
7 | 5ms | 262kb | Killed by Signal 11 | 0 |
8 | 3ms | 262kb | Killed by Signal 11 | 0 |
9 | 3ms | 262kb | Killed by Signal 11 | 0 |
10 | 3ms | 262kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |