Pagini recente » Borderou de evaluare (job #1435144) | Borderou de evaluare (job #1023305) | Borderou de evaluare (job #841618) | Borderou de evaluare (job #904619) | Borderou de evaluare (job #1810266)
Borderou de evaluare (job #1810266)
Raport evaluator
Compilare:
user.cpp: In function ‘void words()’:
user.cpp:131:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:134:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(w);
^
user.cpp: In function ‘void read()’:
user.cpp:143:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘void write()’:
user.cpp:152:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
user.cpp:157:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &ty);
^
user.cpp:159:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &pos, &idx, &a, &b);
^
user.cpp:161:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c %d %d", &pos, &ch, &a, &b);
^
/tmp/ccjSpLtl.o: In function `words()':
user.cpp:(.text+0x575): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 148ms | 5612kb | OK | 10 |
2 | 96ms | 5688kb | OK | 10 |
3 | 1056ms | 7396kb | OK | 10 |
4 | 892ms | 7360kb | OK | 10 |
5 | 876ms | 7412kb | OK | 10 |
6 | 900ms | 7524kb | OK | 10 |
7 | 932ms | 7524kb | OK | 10 |
8 | 976ms | 7524kb | OK | 10 |
9 | 912ms | 7512kb | OK | 10 |
10 | 892ms | 7540kb | OK | 10 |
Punctaj total | 100 |