Pagini recente » Borderou de evaluare (job #1845689) | Borderou de evaluare (job #287914) | Borderou de evaluare (job #148206) | Borderou de evaluare (job #1040472) | Borderou de evaluare (job #1709328)
Borderou de evaluare (job #1709328)
Raport evaluator
Compilare:
user.cpp: In function ‘int max1(int, int, int)’:
user.cpp:14:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int max2(int, int, int)’:
user.cpp:37:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:41:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte2.in", "r", stdin);
^
user.cpp:42:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte2.out", "w", stdout);
^
user.cpp:43:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &teszt);
^
user.cpp:45:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i%i%i%i", &a, &b, &c, &d, &e);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 100 |
Punctaj total | 100 |