Pagini recente » Borderou de evaluare (job #2284667) | Borderou de evaluare (job #2538758) | Borderou de evaluare (job #2053116) | Borderou de evaluare (job #1458396) | Borderou de evaluare (job #1420246)
Borderou de evaluare (job #1420246)
Raport evaluator
Compilare:
user.cpp: In function ‘punct get()’:
user.cpp:33:17: warning: NULL used in arithmetic [-Wpointer-arith]
while(s[j]!=NULL){
^
user.cpp:23:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘int main()’:
user.cpp:104:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("harta2.in","r",stdin);
^
user.cpp:105:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("harta2.out","w",stdout);
^
user.cpp:108:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n",&n);
^
/tmp/ccbw1cvX.o: In function `get()':
user.cpp:(.text+0x19): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1248kb | Okay | 10 |
2 | 4ms | 1256kb | Okay | 10 |
3 | 4ms | 1260kb | Okay | 10 |
4 | 16ms | 1372kb | Okay | 10 |
5 | 44ms | 1724kb | Okay | 10 |
6 | 88ms | 1952kb | Okay | 10 |
7 | 112ms | 2080kb | Okay | 10 |
8 | 132ms | 2080kb | Wrong | 0 |
9 | 160ms | 2188kb | Wrong | 0 |
10 | 176ms | 2432kb | Okay | 10 |
Punctaj total | 80 |