Pagini recente » Borderou de evaluare (job #420582) | Borderou de evaluare (job #593474) | Borderou de evaluare (job #500267) | Borderou de evaluare (job #6778) | Borderou de evaluare (job #1969888)
Borderou de evaluare (job #1969888)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir8.in", "r", stdin);
^
user.cpp:30:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir8.out", "w", stdout);
^
user.cpp:32:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(A);
^
user.cpp:36:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &nc);
^
user.cpp:38:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(B);
^
user.cpp:44:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:49:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &opType, &poz);
^
user.cpp:53:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %c%d%d", &ch, &a, &b);
^
user.cpp:64:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &idx, &a, &b);
^
/tmp/ccTmz59y.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 28ms | 484kb | OK | 10 |
2 | 12ms | 488kb | OK | 10 |
3 | 1456ms | 568kb | OK | 10 |
4 | 964ms | 556kb | OK | 10 |
5 | 976ms | 544kb | OK | 10 |
6 | 900ms | 552kb | OK | 10 |
7 | 876ms | 556kb | OK | 10 |
8 | 1008ms | 556kb | OK | 10 |
9 | 916ms | 548kb | OK | 10 |
10 | 732ms | 564kb | OK | 10 |
Punctaj total | 100 |