Pagini recente » Borderou de evaluare (job #738654) | Borderou de evaluare (job #703166) | Borderou de evaluare (job #2662699) | Borderou de evaluare (job #413866) | Borderou de evaluare (job #1406918)
Borderou de evaluare (job #1406918)
Raport evaluator
Compilare:
user.cpp: In function ‘void sol()’:
user.cpp:76:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:79:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(pa); pp = 0;
^
user.cpp:88:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:92:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &aa);
^
user.cpp: In function ‘int main()’:
user.cpp:108:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tempest.in", "r", stdin);
^
user.cpp:109:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tempest.out", "w", stdout);
^
/tmp/ccbJvxrr.o: In function `sol()':
user.cpp:(.text+0xe8): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 980ms | 16636kb | Incorect | 0 |
Punctaj total | 0 |