Pagini recente » Borderou de evaluare (job #3177580) | Borderou de evaluare (job #8305) | Borderou de evaluare (job #2233973) | Borderou de evaluare (job #1448164) | Borderou de evaluare (job #1185964)
Borderou de evaluare (job #1185964)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:8: warning: unused variable ‘j’ [-Wunused-variable]
int i,j, n=49,t,tests;
^
user.cpp:6:11: warning: unused variable ‘n’ [-Wunused-variable]
int i,j, n=49,t,tests;
^
user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sase49.in", "r", stdin);
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sase49.out", "w", stdout);
^
user.cpp:9:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:18:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 100 |
Punctaj total | 100 |